package com.masterclient.app.businessmodule.vipmodule.api;

import com.eoner.baselib.container.CommonBaseResponse;
import com.masterclient.app.businessmodule.vipmodule.bean.Income;
import com.masterclient.app.businessmodule.vipmodule.bean.Profit;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ProfitsListApi {
    /**
     * 我的收益
     * */
    @GET("/v1/vip/profits/list")
    Observable<CommonBaseResponse<Profit>> getProfits(@Query("profit_status")int status,@Query("page")int page,@Query("page_size") int page_size);
    /**
     * 我的收入
     * */
    @GET("/v1/vip/income/list")
    Observable<CommonBaseResponse<Income>> getIncome(@Query("income_type")int status, @Query("page")int page, @Query("page_size") int page_size);

}
